{__NOLAYOUT__}
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<title>个人节点</title>
	<link rel="stylesheet" href="__CDN__/assets/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/css/detail10.css">
    <link rel="stylesheet" href="__CDN__/assets/css/lanrenzhijia.css">
	<script src="__CDN__/assets/libs/jquery/dist/jquery.min.js"></script>
	<script src="__CDN__/assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
	<script type="text/javascript">
		    var a = '';
			function chadnge(e) {
				a = e;
				if(a != '') {
					document.getElementById('search_btn').style.background="#4782DB";
				}else{
					document.getElementById('search_btn').style.background="#E6E6E6";
				}
			}
	</script>
</head>
<body>
	<div class="heard">
			<div class="heard_return">
				<a href="javascript:history.back();"><img src="__CDN__/assets/img/bikebi/return.png"></a>
			</div>
			<div class="heard_title">
				<p>个人节点</p>
			</div>
			<div class="heard_origin">
				<a href="{:url('index')}"><img src="__CDN__/assets/img/bikebi/team01.png"></a>
			</div>
	</div>
	<div class="search">
		<form method="post" action=""> 
		<div class="search_img">
			<img src="__CDN__/assets/img/bikebi/search.png">
		</div>
		<div class="search_i">
			<input type="text" name="username" placeholder="搜索要查询的会员号" onchange="chadnge(this.value)">
		</div>
		<div class="search_b">
			<input type="submit" name="" value="搜索" class="btn btn_nomal" id="search_btn" >
		</div>
	    </form>
	</div>

	<div class="team_list">
		<div class="team_list_left">
             <p>共享部落</p>
             <p>{$teamNum|default='0'}</p>
             <div class="team_list_left_card">
             <p>{$group_list[$topUser.group_id]}会员</p>
             <p>{$topUser.user_code}</p>
             <p>{$topUser.createtime|datetime="Y-m-d"}</p>
             </div>
             <p>分享部落</p>
             <p>{$childrenNum|default='0'}</p>
		</div>
		<div class="team_list_mid">
            {php}$rightInfo = isset($teamList[1]) ? $teamList[1] : [];{/php}
            <a {notempty name="rightInfo['id']"} href="{:url('index', ['id'=>$rightInfo['id']])}" {/notempty}>
            <div class="team_list_mid_up">
             <p>{notempty name="rightInfo['group_id']"}{$group_list[$rightInfo.group_id]}会员{/notempty}</p>
             <p>{$rightInfo.user_code|default=''}</p>
             <p>{notempty name="rightInfo['createtime']"}{$rightInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
            </div>
            </a>

            {php}$leftInfo = isset($teamList[0]) ? $teamList[0] : [];{/php}
			<a {notempty name="leftInfo['id']"} href="{:url('index', ['id'=>$leftInfo['id']])}" {/notempty}>
			<div class="team_list_mid_up">
			 <p>{notempty name="leftInfo['group_id']"}{$group_list[$leftInfo.group_id]}会员{/notempty}</p>
             <p>{$leftInfo.user_code|default=''}</p>
             <p>{notempty name="leftInfo['createtime']"}{$leftInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
			</div>
		    </a>
		</div>
		<div class="team_list_right">

            {php}$rightChildInfo = isset($rightInfo['child'][1]) ? $rightInfo['child'][1] : [];{/php}
            <a {notempty name="rightChildInfo['id']"} href="{:url('index', ['id'=>$rightChildInfo['id']])}" {/notempty}>
            <div class="team_list_right_card">
             <p>{notempty name="rightChildInfo['group_id']"}{$group_list[$rightChildInfo.group_id]}会员{/notempty}</p>
             <p>{$rightChildInfo.user_code|default=''}</p>
             <p>{notempty name="rightChildInfo['createtime']"}{$rightChildInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
            </div>
            </a>

            {php}$rightChildInfo = isset($rightInfo['child'][0]) ? $rightInfo['child'][0] : [];{/php}
            <a {notempty name="rightChildInfo['id']"} href="{:url('index', ['id'=>$rightChildInfo['id']])}" {/notempty}>
            <div class="team_list_right_card">
             <p>{notempty name="rightChildInfo['group_id']"}{$group_list[$rightChildInfo.group_id]}会员{/notempty}</p>
             <p>{$rightChildInfo.user_code|default=''}</p>
             <p>{notempty name="rightChildInfo['createtime']"}{$rightChildInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
            </div>
            </a>


            {php}$leftChildInfo = isset($leftInfo['child'][1]) ? $leftInfo['child'][1] : [];{/php}
            <a {notempty name="leftChildInfo['id']"} href="{:url('index', ['id'=>$leftChildInfo['id']])}" {/notempty}>
            <div class="team_list_right_card">
             <p>{notempty name="leftChildInfo['group_id']"}{$group_list[$leftChildInfo.group_id]}会员{/notempty}</p>
             <p>{$leftChildInfo.user_code|default=''}</p>
             <p>{notempty name="leftChildInfo['createtime']"}{$leftChildInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
            </div>
            </a>

            {php}$leftChildInfo = isset($leftInfo['child'][0]) ? $leftInfo['child'][0] : [];{/php}
            <a {notempty name="leftChildInfo['id']"} href="{:url('index', ['id'=>$leftChildInfo['id']])}" {/notempty}>
            <div class="team_list_right_card">
             <p>{notempty name="leftChildInfo['group_id']"}{$group_list[$leftChildInfo.group_id]}会员{/notempty}</p>
             <p>{$leftChildInfo.user_code|default=''}</p>
             <p>{notempty name="leftChildInfo['createtime']"}{$leftChildInfo.createtime|datetime="Y-m-d"}{/notempty}</p>
            </div>
            </a>
		</div>
	</div>
</body>
</html>